﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CA1 RID: 3233
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OJGLGPGDEPN : IMessage<OJGLGPGDEPN>, IMessage, IEquatable<OJGLGPGDEPN>, IDeepCloneable<OJGLGPGDEPN>, IBufferMessage
	{
		// Token: 0x170028A8 RID: 10408
		// (get) Token: 0x0600905E RID: 36958 RVA: 0x0017F411 File Offset: 0x0017D611
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OJGLGPGDEPN> Parser
		{
			get
			{
				return OJGLGPGDEPN._parser;
			}
		}

		// Token: 0x170028A9 RID: 10409
		// (get) Token: 0x0600905F RID: 36959 RVA: 0x0017F418 File Offset: 0x0017D618
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OJGLGPGDEPNReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028AA RID: 10410
		// (get) Token: 0x06009060 RID: 36960 RVA: 0x0017F42A File Offset: 0x0017D62A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OJGLGPGDEPN.Descriptor;
			}
		}

		// Token: 0x06009061 RID: 36961 RVA: 0x0017F431 File Offset: 0x0017D631
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGLGPGDEPN()
		{
		}

		// Token: 0x06009062 RID: 36962 RVA: 0x0017F444 File Offset: 0x0017D644
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGLGPGDEPN(OJGLGPGDEPN other) : this()
		{
			this.id_ = other.id_;
			this.avatarIdList_ = other.avatarIdList_.Clone();
			this.lDCANAOMENA_ = other.lDCANAOMENA_;
			this.mJNPBCGCOLB_ = other.mJNPBCGCOLB_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06009063 RID: 36963 RVA: 0x0017F49D File Offset: 0x0017D69D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGLGPGDEPN Clone()
		{
			return new OJGLGPGDEPN(this);
		}

		// Token: 0x170028AB RID: 10411
		// (get) Token: 0x06009064 RID: 36964 RVA: 0x0017F4A5 File Offset: 0x0017D6A5
		// (set) Token: 0x06009065 RID: 36965 RVA: 0x0017F4AD File Offset: 0x0017D6AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x170028AC RID: 10412
		// (get) Token: 0x06009066 RID: 36966 RVA: 0x0017F4B6 File Offset: 0x0017D6B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarIdList
		{
			get
			{
				return this.avatarIdList_;
			}
		}

		// Token: 0x170028AD RID: 10413
		// (get) Token: 0x06009067 RID: 36967 RVA: 0x0017F4BE File Offset: 0x0017D6BE
		// (set) Token: 0x06009068 RID: 36968 RVA: 0x0017F4C6 File Offset: 0x0017D6C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public long LDCANAOMENA
		{
			get
			{
				return this.lDCANAOMENA_;
			}
			set
			{
				this.lDCANAOMENA_ = value;
			}
		}

		// Token: 0x170028AE RID: 10414
		// (get) Token: 0x06009069 RID: 36969 RVA: 0x0017F4CF File Offset: 0x0017D6CF
		// (set) Token: 0x0600906A RID: 36970 RVA: 0x0017F4D7 File Offset: 0x0017D6D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MJNPBCGCOLB
		{
			get
			{
				return this.mJNPBCGCOLB_;
			}
			set
			{
				this.mJNPBCGCOLB_ = value;
			}
		}

		// Token: 0x0600906B RID: 36971 RVA: 0x0017F4E0 File Offset: 0x0017D6E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OJGLGPGDEPN);
		}

		// Token: 0x0600906C RID: 36972 RVA: 0x0017F4F0 File Offset: 0x0017D6F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OJGLGPGDEPN other)
		{
			return other != null && (other == this || (this.Id == other.Id && this.avatarIdList_.Equals(other.avatarIdList_) && this.LDCANAOMENA == other.LDCANAOMENA && this.MJNPBCGCOLB == other.MJNPBCGCOLB && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600906D RID: 36973 RVA: 0x0017F560 File Offset: 0x0017D760
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			num ^= this.avatarIdList_.GetHashCode();
			if (this.LDCANAOMENA != 0L)
			{
				num ^= this.LDCANAOMENA.GetHashCode();
			}
			if (this.MJNPBCGCOLB != 0U)
			{
				num ^= this.MJNPBCGCOLB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600906E RID: 36974 RVA: 0x0017F5DF File Offset: 0x0017D7DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600906F RID: 36975 RVA: 0x0017F5E7 File Offset: 0x0017D7E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009070 RID: 36976 RVA: 0x0017F5F0 File Offset: 0x0017D7F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MJNPBCGCOLB != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.MJNPBCGCOLB);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Id);
			}
			if (this.LDCANAOMENA != 0L)
			{
				output.WriteRawTag(72);
				output.WriteInt64(this.LDCANAOMENA);
			}
			this.avatarIdList_.WriteTo(ref output, OJGLGPGDEPN._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009071 RID: 36977 RVA: 0x0017F678 File Offset: 0x0017D878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			num += this.avatarIdList_.CalculateSize(OJGLGPGDEPN._repeated_avatarIdList_codec);
			if (this.LDCANAOMENA != 0L)
			{
				num += 1 + CodedOutputStream.ComputeInt64Size(this.LDCANAOMENA);
			}
			if (this.MJNPBCGCOLB != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MJNPBCGCOLB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009072 RID: 36978 RVA: 0x0017F6FC File Offset: 0x0017D8FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OJGLGPGDEPN other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this.avatarIdList_.Add(other.avatarIdList_);
			if (other.LDCANAOMENA != 0L)
			{
				this.LDCANAOMENA = other.LDCANAOMENA;
			}
			if (other.MJNPBCGCOLB != 0U)
			{
				this.MJNPBCGCOLB = other.MJNPBCGCOLB;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009073 RID: 36979 RVA: 0x0017F771 File Offset: 0x0017D971
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06009074 RID: 36980 RVA: 0x0017F77C File Offset: 0x0017D97C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 24U)
					{
						this.MJNPBCGCOLB = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.Id = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.LDCANAOMENA = input.ReadInt64();
						continue;
					}
					if (num == 80U || num == 82U)
					{
						this.avatarIdList_.AddEntriesFrom(ref input, OJGLGPGDEPN._repeated_avatarIdList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400370C RID: 14092
		private static readonly MessageParser<OJGLGPGDEPN> _parser = new MessageParser<OJGLGPGDEPN>(() => new OJGLGPGDEPN());

		// Token: 0x0400370D RID: 14093
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400370E RID: 14094
		public const int IdFieldNumber = 5;

		// Token: 0x0400370F RID: 14095
		private uint id_;

		// Token: 0x04003710 RID: 14096
		public const int AvatarIdListFieldNumber = 10;

		// Token: 0x04003711 RID: 14097
		private static readonly FieldCodec<uint> _repeated_avatarIdList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04003712 RID: 14098
		private readonly RepeatedField<uint> avatarIdList_ = new RepeatedField<uint>();

		// Token: 0x04003713 RID: 14099
		public const int LDCANAOMENAFieldNumber = 9;

		// Token: 0x04003714 RID: 14100
		private long lDCANAOMENA_;

		// Token: 0x04003715 RID: 14101
		public const int MJNPBCGCOLBFieldNumber = 3;

		// Token: 0x04003716 RID: 14102
		private uint mJNPBCGCOLB_;
	}
}
